<?xml version="1.0" encoding="UTF-8"?>
<!--
    MusicPliz
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<title>MusicPliz</title>
</h:head>
<h:body>
	<h:outputStylesheet name="style.css" library="css" />
	<ui:include src="/WEB-INF/includes/header.xhtml" />
	<div id="container">
	<h:messages showDetail="false" showSummary="true" infoClass="info" errorClass="error"/>
	<h:form id="modifyForm" class="classic">
	<h1>Chercher une compte</h1>
	<p>
		<h:outputLabel id="lblTypeCompte" for="typeCompte" value="type de compte" />
		<h:selectOneMenu id="typeCompte" value="#{SearchCompteBean.dto.type}">
			<f:selectItems value="#{SearchCompteBean.compteTypes}" />
		</h:selectOneMenu>
	</p>
	<p>
		<h:outputLabel id="lblNom" for="nom" value="nom" />
		<h:inputText id="nom" value="#{SearchCompteBean.dto.nom}" />
	</p>
	<p>
		<h:outputLabel id="lblPrenom" for="prenom" value="prénom" />
		<h:inputText id="prenom" value="#{SearchCompteBean.dto.prenom}" />
	</p>
	<p>
		<h:outputLabel id="lblNomscene" for="nomscene" value="nom de scène" />
		<h:inputText id="nomscene" value="#{SearchCompteBean.dto.nomScene}" />
	</p>
	<p>
		<h:outputLabel id="lblTyperesto" for="typeresto" value="type de restaurant" />
		<h:inputText id="typeresto" value="#{SearchCompteBean.dto.typeResto}" />
	</p>
	<p>
		<h:outputLabel id="lblDesc" for="desc" value="description" />
		<h:inputText id="desc" value="#{SearchCompteBean.dto.description}" />
	</p>
	<p>
		<h:outputLabel id="lblAdresse" for="adresse" value="adresse" />
		<h:inputText id="adresse" value="#{SearchCompteBean.dto.adresse}" />
	</p>
	<p>
		<h:outputLabel id="lblCodepostal" for="codepostal" value="code postal" />
		<h:inputText id="codepostal" value="#{SearchCompteBean.dto.codePostal}" />
	</p>
	<p>
		<h:outputLabel id="lblVille" for="ville" value="ville" />
		<h:inputText id="ville" value="#{SearchCompteBean.dto.ville}" />
	</p>
	<p>
		<h:outputLabel id="lblNumero" for="numero" value="téléphone" />
		<h:inputText id="numero" value="#{SearchCompteBean.dto.numero}" />
	</p>
	<p>
		<h:outputLabel id="lblInstrument" for="instrument" value="instrument(s)" />
		<h:inputText id="instrument" value="#{SearchCompteBean.dto.instrument}" />
	</p>
	<p>
		<h:outputLabel id="lbltypemusique" for="typemusique" value="type de musique" />
		<h:inputText id="typemusique" value="#{SearchCompteBean.dto.typeMusique}" />
	</p>
	<p>
		<h:outputLabel id="lblMaterial" for="material" value="material" />
		<h:inputText id="material" value="#{SearchCompteBean.dto.material}" />
	</p>
	<p>	
		<h:commandButton value="chercher" action="#{SearchCompteBean.searchCompte}" />
	</p>	

	</h:form>
	<div class="navigationLinks">
		<h:link outcome="#{NavigationBean.getHomeSite()}" value="retour au Home" />
	</div>
	</div>
</h:body>
</html>
